<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main</title>
<load href='__PUBLIC__/Css/admin.css' />
<load href='__PUBLIC__/Js/admin_link.js' />
</head>
<body id="main">

<div class="map">
	管理首页 &gt;&gt; 内容管理 &gt;&gt; <strong id="title">友情链接列表</strong>
</div>

<ol>
	<li><a href="__URL__/index" class="selected">友情链接列表</a></li>
	<li><a href="__URL__/add">新增友情链接</a></li>
</ol>
<table cellspacing="0">
	<tr><th>编号</th><th>网站名称</th><th>网址地址</th><th>Logo地址</th><th>站长名</th><th>类型</th><th>状态</th><th>操作</th></tr>
	<volist name="list" id="vo">
	<tr>
		<td>{$vo.id}</td>
		<td>{$vo.webname}</td>
		<td title="{$vo.weburl}">{$vo.weburl}</td>
		<td title="{$vo.logourl}">{$vo.logourl}</td>
		<td>{$vo.admin}</td>
		<if condition="$vo.type eq 1">
		<td>文字链接</td>
		<else />
		<td>logo链接</td>
		</if>
		<if condition="$vo.state eq 0">
		<td><span class="red">[未审核]</span> | <a href="__URL__/pass/id/{$vo.id}">通过</a></td>
		<else />
		<td><span class="green">[已审核]</span> | <a href="__URL__/cancel/id/{$vo.id}">取消</a></td>
		</if>
		<td><a href="__URL__/edit/id/{$vo.id}">修改</a> | <a href="__URL__/delete/id/{$vo.id}" onclick="return confirm('你真的要删除这个链接吗？') ? true : false">删除</a></td>
	</tr>
	</volist>
</table>
<div id="page">{$page}</div>
</body>
</html>